package com.veo.dao;

import com.veo.bean.User;

import java.util.List;

public interface UserDao {

    List<User> findAllUser();

    User findUserById(int id);

    int addUser(User user);

    int delUserById(int id);

    int update(User user);

    List<User> findUserNameLike(String name);

    List<User> findUserNameLikeBy(String name);

    int findTotalUser();

}
